package com.hanbang.taitaigou.model;

/**
 * Created by fanxin on 2016/6/2.
 */
public class BaoKuanData {
    /**
     * "id": 2,
     "store_id": 128,
     "original_price": 200.00,
     "sell_price": 100.00,
     "number": 100.00,
     "dept_id": 28,
     "brand_id": 12,
     "vgno": "02003001",
     "runtype": 1,
     "goods_no": "0202020202",
     "gname": "娃哈哈 桂圆莲子 八宝粥360g",
     "subtitle": "娃哈哈 桂圆莲子 八宝粥360g",
     "unit": "g",
     "pknum": 360,
     "img_url": "/upload/201604/14/201604141358391579.png",
     "content": "\u003cp align=\"center\"\u003e\r\n\t\u003cimg alt=\"\" src=\"/upload/201604/14/201604141359098949.jpg\" /\u003e \r\n\u003c/p\u003e\r\n\u003cp align=\"center\"\u003e\r\n\t\u003cimg alt=\"\" src=\"/upload/201604/14/201604141359104579.jpg\" /\u003e\u003cimg alt=\"\" src=\"/upload/201604/14/201604141359108529.jpg\" /\u003e\u003cimg alt=\"\" src=\"/upload/201604/14/201604141359118019.jpg\" /\u003e \r\n\u003c/p\u003e",
     "sort_id": 1,
     "status": 1,
     "sell_status": 2,
     "quantity": 1000,
     "weight": 0.00,
     "add_time": "\/Date(1450333122000)\/",
     "type": 1
     */

    private int id;
    private int store_id;
    private double original_price;
    private double sell_price;
    private double number;
    private int dept_id;
    private int brand_id;
    private String vgno;
    private int runtype;
    private String goods_no;
    private String gname;
    private String subtitle;
    private String unit;
    private int pknum;
    private String img_url;
    private String content;
    private int sort_id;
    private int status;
    private int sell_status;
    private int quantity;
    private double weight;
    private String add_time;
    private int type;

    /**
     * 选择的数量
     * @return
     */
    private int selectNumber;

    public int getSelectNumber() {
        return selectNumber;
    }

    public void setSelectNumber(int selectNumber) {
        this.selectNumber = selectNumber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStore_id() {
        return store_id;
    }

    public void setStore_id(int store_id) {
        this.store_id = store_id;
    }

    public double getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(double original_price) {
        this.original_price = original_price;
    }

    public double getSell_price() {
        return sell_price;
    }

    public void setSell_price(double sell_price) {
        this.sell_price = sell_price;
    }

    public double getNumber() {
        return number;
    }

    public void setNumber(double number) {
        this.number = number;
    }

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public String getVgno() {
        return vgno;
    }

    public void setVgno(String vgno) {
        this.vgno = vgno;
    }

    public int getRuntype() {
        return runtype;
    }

    public void setRuntype(int runtype) {
        this.runtype = runtype;
    }

    public String getGoods_no() {
        return goods_no;
    }

    public void setGoods_no(String goods_no) {
        this.goods_no = goods_no;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getPknum() {
        return pknum;
    }

    public void setPknum(int pknum) {
        this.pknum = pknum;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getSort_id() {
        return sort_id;
    }

    public void setSort_id(int sort_id) {
        this.sort_id = sort_id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSell_status() {
        return sell_status;
    }

    public void setSell_status(int sell_status) {
        this.sell_status = sell_status;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public DbGwcData getDbGwcData() {
        return new DbGwcData(id, original_price, sell_price, selectNumber, gname, img_url, (int) number);
    }
}
